<?php

return [
    //插件名称
    'name' => '内容管理',
    //插件标识
    'tag_name' => 'cms',
    //插件作者
    'author' => 'YIS',
    //插件版本
    'version' => '1.0.0',
    //插件安装地址
    'install_uri' => '/app/active-system-install',
    //插件卸载地址
    'uninstall_uri' => '/app/active-system-uninstall',
    //插件升级地址
    'upgrade_uri' => '/app/active-system-upgrade',
    //后台管理菜单
    'system_menu' => [
        ['title' => '网站设置', 'url' => '/app/cms/admin.index/system', 'id' => 'cms-admin-index-system', 'son' => [
            [ 'title' => '保存设置', 'url' => '/app/cms/admin.index/systemdata', 'id' => 'cms-admin-index-systemdata']
        ]],

        ['title' => '广告管理', 'url' => '/app/cms/admin.advert/position', 'id' => 'cms-admin-advert-position', 'son' => [
            [ 'title' => '广告位列表', 'url' => '/app/cms/admin.advert/listpos', 'id' => 'cms-admin-advert-listpos'],
            [ 'title' => '管理广告位', 'url' => '/app/cms/admin.advert/savepos', 'id' => 'cms-admin-advert-savepos'],
            [ 'title' => '广告位数据', 'url' => '/app/cms/admin.advert/posdata', 'id' => 'cms-admin-advert-posdata'],
            [ 'title' => '删除广告位', 'url' => '/app/cms/admin.advert/delpos', 'id' => 'cms-admin-advert-delpos'],
            [ 'title' => '广告列表', 'url' => '/app/cms/admin.advert/datas', 'id' => 'cms-admin-advert-datas'],
            [ 'title' => '新增广告', 'url' => '/app/cms/admin.articles/save', 'id' => 'cms-admin-articles-save'],
            [ 'title' => '删除广告', 'url' => '/app/cms/admin.articles/delete', 'id' => 'cms-admin-articles-delete'],
        ]],

        ['title' => '栏目管理', 'url' => '/app/cms/admin.column/index', 'id' => 'cms-admin-column-index', 'son' => [
            [ 'title' => '栏目数据', 'url' => '/app/cms/admin.column/datas', 'id' => 'cms-admin-column-datas'],
            [ 'title' => '增加&修改', 'url' => '/app/cms/admin.column/save', 'id' => 'cms-admin-column-save'],
            [ 'title' => '增加&修改内容', 'url' => '/app/cms/admin.column/savedata', 'id' => 'cms-admin-column-savedata'],
            [ 'title' => '管理模板', 'url' => '/app/cms/admin.column/html', 'id' => 'cms-admin-column-html'],
            [ 'title' => '文章列表', 'url' => '/app/cms/admin.articles/datas', 'id' => 'cms-admin-articles-datas'],
            [ 'title' => '增加文章', 'url' => '/app/cms/admin.articles/save', 'id' => 'cms-admin-articles-save'],
            [ 'title' => '删除文章', 'url' => '/app/cms/admin.articles/delete', 'id' => 'cms-admin-articles-delete'],
        ]],

    ],
    //自定义标签设置
    'taglib' => '\appin\cms\taglib\Cms',

    //自定义command
    'command' => [

    ],
    'cache_tag' => [

    ]
];
